package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 用户积分每日签到
 */
@Getter
@Setter
@Document("user_points_daily_sign_in")
public class UserPointDailySignIn extends EntityBase {
    @Indexed
    private String userId;
    /**
     * 积分
     */
    private Integer point;
    /**
     * 每天的时间
     */
    @Indexed
    private Date dayTime;
    /**
     * 签到时间
     */
    private Date signInTime;
}
